home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / CODING / DELPHI / GERRLOG.ZIP / ERRORFRM.PAS < prev    next >
Encoding:
Pascal/Delphi Source File  |  1996-09-12  |  705 b   |  40 lines

  1. unit Errorfrm;
  2.  
  3. interface
  4.  
  5. uses
  6.   SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
  7.   Forms, Dialogs, StdCtrls, Buttons, TabNotBk;
  8.  
  9. type
  10.   TErrorForm = class(TForm)
  11.     MainTabs: TTabbedNotebook;
  12.     InfoMemo: TMemo;
  13.     UserMemo: TMemo;
  14.     Label1: TLabel;
  15.     ErrMsgLabel: TLabel;
  16.     OKBtn: TBitBtn;
  17.     ErrClassLabel: TLabel;
  18.     procedure FormShow(Sender: TObject);
  19.   private
  20.     { Private declarations }
  21.   public
  22.     { Public declarations }
  23.   end;
  24.  
  25. var
  26.   ErrorForm: TErrorForm;
  27.  
  28. implementation
  29.  
  30. {$R *.DFM}
  31.  
  32. procedure TErrorForm.FormShow(Sender: TObject);
  33. begin
  34.    MainTabs.PageIndex := 0;
  35.    UserMemo.Clear;
  36.    UserMemo.SetFocus;
  37. end;
  38.  
  39. end.
  40.